package org.bean;

public class ActionTable {
    public int item;
    public String vt;
    public String act;

    String index;


    public String getIndex(){
        return String.valueOf(item)+","+ vt;
    }

    public ActionTable(int item, String vt, String act){
        this.act=act;
        this.item = item;
        this.vt = vt;
    }

    public ActionTable(){

    }

    public int getItem() {
        return item;
    }

    public void setItem(int item) {
        this.item = item;
    }

    public String getVt() {
        return vt;
    }

    public void setVt(String vt) {
        this.vt = vt;
    }

    public String getAct() {
        return act;
    }

    public void setAct(String act) {
        this.act = act;
    }




    @Override
    public String toString(){
        return "状态" + item + "遇到" + vt + "则" + act;
    }
}
